//数据字典api模块
import request from '@/utils/request'
export default{
    //条件分页查询用户列表
    list(search,pageNum,pageSize){
        return request({
            url:`/admin/core/userInfo/list/${pageNum}/${pageSize}`,
            method:'GET',
            params: search //{search}
        })
    },
    //锁定解锁会员
    updateStatus(userId,status){
        return request({
            url:`/admin/core/userInfo/${userId}/${status}`,
            method:'PUT'
        })
    },
    //查询登录日志
    loginRecords(userId){
        return request({
            url:`/admin/core/userLoginRecord/user/${userId}`,
            method:'GET'
        })
    },
}